﻿using System.Configuration;

namespace COMMON
{
    public class Configuracao
    {

        #region CRYPTOKEY
        public static string CRYPTOKEY()
        {
            return ConfigurationManager.AppSettings["CRYPTOKEY"];
        }
        #endregion

        #region UserZipCode
        public static string UserZipCode()
        {
            return ConfigurationManager.AppSettings["UserZipCode"];
        }
        #endregion

        #region PassZipCode
        public static string PassZipCode()
        {
            return ConfigurationManager.AppSettings["PassZipCode"];
        }
        #endregion

        #region UserConfirme
        public static string UserConfirme()
        {
            return ConfigurationManager.AppSettings["UserConfirme"];
        }
        #endregion

        #region PassConfirme
        public static string PassConfirme()
        {
            return ConfigurationManager.AppSettings["PassConfirme"];
        }
        #endregion

        #region SiglaConfirme
        public static string SiglaConfirme()
        {
            return ConfigurationManager.AppSettings["SiglaConfirme"];
        }
        #endregion

        #region ConnectionString
        public static string ConnectionString()
        {
            return ConfigurationManager.ConnectionStrings["connectionPop"].Name;
        }
        #endregion

    }
}